{% extends "base.html" %}
{% block head_title %}{{ site.name }} - Acceder{% endblock %}
{% block title %}Acceder{% endblock %}
{% block breadcrumb %}{{ block.super }} <a href="#">Login</a>{% endblock %}
{% block login %}
{% if form.errors %}
<p class="error">Please correct the errors below:</p>
{% endif %}
<form method="post" action="?next={{ next|default:"/" }}">{% csrf_token %}
 <table style="width: 60%;">
		<tr>
  			<td><label for="id_username">Username:</label>{% if form.username.errors %} <span class="error">{{ form.username.errors|join:", " }}</span>{% endif %}</td>
			<td>{{ form.username }}</td>
		</tr>
		<tr>
			<td><label for="id_password">Password:</label>{% if form.password.errors %} <span class="error">{{ form.password.errors|join:", " }}</span>{% endif %}</td>
			<td>{{ form.password }}</td>
		</tr>
		<tr>
			<td><input class="button-go" type="submit" value="Log in" /></td>
		</tr>
</table>
</form>
<br>
{% endblock %}
{% block content-related %}
{% endblock %}
